package com.itheima.mapper;

import com.github.pagehelper.Page;
import com.itheima.pojo.Student;
import com.itheima.pojo.StudentQueryParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentMapper {
    Page<Student> queryStudentList(StudentQueryParam s);

    void deleteStudent(@Param("ids") List<Integer> ids);

    void addStudent(Student student);

    Student queryById(Integer id);

    void modifyStudent(Student student);

    void violationHandling(@Param("id") Integer id,@Param("violationScore") Integer score);
}